<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="drugClassId" name="drugClassId" th:value="${drugClass.menuId}"
							type="hidden">
						<input id="menuIds"
						name="parentClassId" type="hidden" th:value="${drugClass.parentId}">
						<div class="form-group">
							<label class="col-sm-3 control-label">父药品分类：</label>
							<div class="col-sm-8">
								<div id="menuTree"></div>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">名称：</label>
							<div class="col-sm-8">
								<input id="drugClassName" name="drugClassName" class="form-control" type="text"
									th:value="${drugClass.name}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">代码：</label>
							<div class="col-sm-8">
								<input id="drugClassCode" name="drugClassCode" class="form-control" type="text"
									th:value="${drugClass.drugClassCode}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">备注：</label>
							<div class="col-sm-8">
								<input id="remarks" name="remarks" class="form-control" type="text"
									th:value="${drugClass.remarks}">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">状态:</label>
							<div class="col-sm-8">
								<label class="radio-inline"> <input
									th:field="*{drugClass.flag}" type="radio" name="status" value="1" />
									正常
								</label> <label class="radio-inline"> <input
									th:field="*{drugClass.flag}" type="radio" name="status" value="0" />
									禁用
								</label>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<input id="submit" class="btn btn-primary" name="submit" type="submit" value="提交" >
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/drugproducer/drugclass/edit.js"></script>
	<script src="/js/appjs/drugproducer/drugclass/drugclass.js"></script>
</body>
</html>
